package com.student.work.model;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class JobInfo {

    private Long id;

    private Long jobId;

    private Long publishUserId;

    private String jobTitle;

    private String department;

    private String email;

    private String phoneNumber;

    private String jobDescribe;

    private String requirement;

    private Integer isApply;

    private Integer isRecommend;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date gmtCreate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date gmtModified;

    private Double hourlyWage;

    public JobInfo(Long id, Long jobId, Long publishUserId, String jobTitle, String department,
                   String email, String phoneNumber, String jobDescribe, String requirement,
                   Integer isApply, Integer isRecommend, Date gmtCreate, Date gmtModified, Double hourlyWage) {
        this.id = id;
        this.jobId = jobId;
        this.publishUserId = publishUserId;
        this.jobTitle = jobTitle;
        this.department = department;
        this.email = email;
        this.phoneNumber = phoneNumber;
        this.jobDescribe = jobDescribe;
        this.requirement = requirement;
        this.isApply = isApply;
        this.isRecommend = isRecommend;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
        this.hourlyWage = hourlyWage;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getJobId() {
        return jobId;
    }

    public void setJobId(Long jobId) {
        this.jobId = jobId;
    }

    public Long getPublishUserId() {
        return publishUserId;
    }

    public void setPublishUserId(Long publishUserId) {
        this.publishUserId = publishUserId;
    }

    public String getJobTitle() {
        return jobTitle;
    }

    public void setJobTitle(String jobTitle) {
        this.jobTitle = jobTitle;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getJobDescribe() {
        return jobDescribe;
    }

    public void setJobDescribe(String jobDescribe) {
        this.jobDescribe = jobDescribe;
    }

    public String getRequirement() {
        return requirement;
    }

    public void setRequirement(String requirement) {
        this.requirement = requirement;
    }

    public Integer getIsApply() {
        return isApply;
    }

    public void setIsApply(Integer isApply) {
        this.isApply = isApply;
    }

    public Integer getIsRecommend() {
        return isRecommend;
    }

    public void setIsRecommend(Integer isRecommend) {
        this.isRecommend = isRecommend;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Double getHourlyWage() {
        return hourlyWage;
    }

    public void setHourlyWage(Double hourlyWage) {
        this.hourlyWage = hourlyWage;
    }
}